//index.js
//获取应用实例
const app = getApp()

Page({
  data: {
    autoplay: true,
    interval: 5000,
    duration: 500,
    swiperCurrent: 0,
  
  },
  //事件处理函数
  bindViewTap: function() {
   
  },
  onLoad: function () {
 
  },
  swiperChange(e) {
    this.setData({
      swiperCurrent: e.detail.current
    })
  },
})
